{# Load the tag library #}
{#{% load bootstrap4 %}#}
{##}
{# Load CSS and JavaScript #}
{#{% bootstrap_css %}#}
{#{% bootstrap_javascript jquery='full' %}#}
{##}
{# Display django.contrib.messages as Bootstrap alerts #}
{#{% bootstrap_messages %}#}

<h1 style="margin: auto;width: 50%;">你好鸭科技有限公司</h1>


{% block header %}
    <a href="/" style="text-decoration: none; color:#007bff">首页 </a>
    <a href="/joblist" style="text-decoration: none; color:#007bff">职位</a>

    {% if user.is_authenticated %}
        <a href="/accounts/logout" style="text-decoration: none; color:#007bff">登出</a>
    {% else %}
        <a href="/accounts/login" style="text-decoration: none; color:#007bff">登录</a>
    {% endif %}

    {% if user.is_authenticated %}
        <p>终于等到你，{{ user.username }}！期待加入我们，用技术去探索一个新世界!</p>
    {% else %}
        <br>"欢迎你，期待加入我们，登陆后可以提交简历." <br>
    {% endif %}
{% endblock %}
<hr>
{% block content %}

{% endblock %}